package com.lynn.common.utils.file;

import java.util.Locale;

/**
 * DESC:
 * TIME:2019-08-05
 */
public class FileConst {

    public static final Locale LOCALE = Locale.CHINA;


    public static final String FORMAT_F = "%1$-1.2f";
    public static final String FORMAT_F_UNIT = "%1$-1.2f%2$s";

    public static final String FORMAT_D = "%1$-1d";
    public static final String FORMAT_D_UNIT = "%1$-1d%2$s";

    public static final String[] UNITS = new String[]{"B", "KB", "MB", "GB", "TB", "PB", "**"};
    public static final int LAST_IDX = UNITS.length - 1;

}
